package com.yanchangapp.model.response;

import com.yanchangapp.model.bean.ContractCommentBean;
import com.yanchangapp.model.bean.OrderCommentBean;
import com.yanchangapp.model.bean.OrderProductBean;
import com.yanchangapp.model.bean.ProductBean;

import java.util.List;

/**
 * Created by apple on 2019-08-19.
 * description: 合同详情请求返回体
 */
public class ContractDetailResponse {
        /**
         * id : 36172a02725d4a519e1b04aa6662683d
         * invoiceNo : CGHT201908190001
         * purorderId :
         * covenant : 一、医疗器械质量符合国家医疗器械标准和有关质量要求
         二、包装符合有关规定和货物运输要求
         三、整件医疗器械附产品合格证
         四、进口医疗器械必须提供符合规定的证明文件
         五、交货方式：送货/自提
         六、售后服务：
         七、违约责任：
         八、交货时间：
         九、对医疗器械的质量提出异议期限为医疗器械到货7天内
         十、结算方式及期限：
         十一、本合同经双方签字或盖章后生效，本合同一式两份双方各执一份，若发生争议双方协商处理。
         * totalMoney : 20
         * contractTime : 2019-08-19 00:00:00
         * bizenterpriseId : aec2e5e4392c4535ba5dfc2fa41f3377
         * purName : 中健之康供应链服务有限责任公司
         * purBank : 建行白下支行
         * purBankno : 32001595636052507013
         * purSign :
         * purSignDate : 2019-08-19 00:00:00
         * supplycoId : d2337b6dacc44404b74ab826f2d13b13
         * supName : 徐州万义元贸易商行
         * supBank : 中国农业银行股份有限公司睢宁双沟支行
         * supBankno : 10250701040005050
         * supSign :
         * supSignDate : 2019-08-19 00:00:00
         * checkState : 0
         * sort : 1
         * inUse : 0
         * invoiceId : 709d1300d8464d7caf30add4bbe853c7
         * contractDetailList : null
         * createBy : 8de768e30fbc43c7a4cd14c23c218c07
         * createDate : 2019-08-19 13:27:13
         * updateBy : 8de768e30fbc43c7a4cd14c23c218c07
         * updateDate : 2019-08-19 13:27:13
         * remarks :
         * delFlag : 0
         * products : [{"id":"1d562a6583484aad90b95b4aef2cb5b2","contractId":"36172a02725d4a519e1b04aa6662683d","productId":"64a31b6be7d4492c81a61f9d21a583a7","productName":"造影导管","productNo":"CP201905150011","productFormat":"11510010 5F","registratNo":"国械注准20173773051","manufacturer":"湖南埃普特医疗器械有限公司","productUnit":"根","price":10,"purNum":1,"totalAmount":10,"entireNum":1,"scatterNum":0,"notOrderNum":1,"createBy":"8de768e30fbc43c7a4cd14c23c218c07","createDate":"2019-08-19 13:27:13","updateBy":"8de768e30fbc43c7a4cd14c23c218c07","updateDate":"2019-08-19 13:27:13","remarks":"","delFlag":"0","orderNum":0,"money":10,"bigPackage":1,"registratNoName":"注册证号"},{"id":"caf38dc126ca41be8132a333ff9c9e4d","contractId":"36172a02725d4a519e1b04aa6662683d","productId":"64db5710708040f7bd2add00404b13b5","productName":"后扩张PTCA球囊导管","productNo":"CP201905150015","productFormat":"41250080","registratNo":"国械注准20183770045","manufacturer":"湖南埃普特医疗器械有限公司","productUnit":"根","price":10,"purNum":1,"totalAmount":10,"entireNum":1,"scatterNum":0,"notOrderNum":1,"createBy":"8de768e30fbc43c7a4cd14c23c218c07","createDate":"2019-08-19 13:27:13","updateBy":"8de768e30fbc43c7a4cd14c23c218c07","updateDate":"2019-08-19 13:27:13","remarks":"","delFlag":"0","orderNum":0,"money":10,"bigPackage":1,"registratNoName":"注册证号"}]
         * examines : []
         * startTime : null
         * endTime : null
         * tolMoney : null
         * productName : null
         * productFormat : null
         * productNo : null
         * productId : null
         * purNum : null
         * createName : 金志娟
         * notOrderNum : null
         * price : null
         * status : 0
         * statusName : 待提交
         * manufacturer : null
         * flag : true
         * contractDtlId : null
         * registratNo : null
         * registratNoName : null
         */

        private String id;
        private String invoiceNo;
        private String purorderId;
        private String covenant;
        private double totalMoney;
        private String contractTime;
        private String bizenterpriseId;
        private String purName;
        private String purBank;
        private String purBankno;
        private String purSign;
        private String purSignDate;
        private String supplycoId;
        private String supName;
        private String supBank;
        private String supBankno;
        private String supSign;
        private String supSignDate;
        private String checkState;
        private int sort;
        private String inUse;
        private String invoiceId;
        private String createName;
        private String status;
        private String statusName;
        private String createDate;
        private boolean flag;
        private List<OrderProductBean> products;
        private List<ContractCommentBean> examines;

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getInvoiceNo() {
            return invoiceNo;
        }

        public void setInvoiceNo(String invoiceNo) {
            this.invoiceNo = invoiceNo;
        }

        public String getPurorderId() {
            return purorderId;
        }

        public void setPurorderId(String purorderId) {
            this.purorderId = purorderId;
        }

        public String getCovenant() {
            return covenant;
        }

        public void setCovenant(String covenant) {
            this.covenant = covenant;
        }

        public double getTotalMoney() {
            return totalMoney;
        }

        public void setTotalMoney(double totalMoney) {
            this.totalMoney = totalMoney;
        }

        public String getContractTime() {
            return contractTime;
        }

        public void setContractTime(String contractTime) {
            this.contractTime = contractTime;
        }

        public String getBizenterpriseId() {
            return bizenterpriseId;
        }

        public void setBizenterpriseId(String bizenterpriseId) {
            this.bizenterpriseId = bizenterpriseId;
        }

        public String getPurName() {
            return purName;
        }

        public void setPurName(String purName) {
            this.purName = purName;
        }

        public String getPurBank() {
            return purBank;
        }

        public void setPurBank(String purBank) {
            this.purBank = purBank;
        }

        public String getPurBankno() {
            return purBankno;
        }

        public void setPurBankno(String purBankno) {
            this.purBankno = purBankno;
        }

        public String getPurSign() {
            return purSign;
        }

        public void setPurSign(String purSign) {
            this.purSign = purSign;
        }

        public String getPurSignDate() {
            return purSignDate;
        }

        public void setPurSignDate(String purSignDate) {
            this.purSignDate = purSignDate;
        }

        public String getSupplycoId() {
            return supplycoId;
        }

        public void setSupplycoId(String supplycoId) {
            this.supplycoId = supplycoId;
        }

        public String getSupName() {
            return supName;
        }

        public void setSupName(String supName) {
            this.supName = supName;
        }

        public String getSupBank() {
            return supBank;
        }

        public void setSupBank(String supBank) {
            this.supBank = supBank;
        }

        public String getSupBankno() {
            return supBankno;
        }

        public void setSupBankno(String supBankno) {
            this.supBankno = supBankno;
        }

        public String getSupSign() {
            return supSign;
        }

        public void setSupSign(String supSign) {
            this.supSign = supSign;
        }

        public String getSupSignDate() {
            return supSignDate;
        }

        public void setSupSignDate(String supSignDate) {
            this.supSignDate = supSignDate;
        }

        public String getCheckState() {
            return checkState;
        }

        public void setCheckState(String checkState) {
            this.checkState = checkState;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getInUse() {
            return inUse;
        }

        public void setInUse(String inUse) {
            this.inUse = inUse;
        }

        public String getInvoiceId() {
            return invoiceId;
        }

        public void setInvoiceId(String invoiceId) {
            this.invoiceId = invoiceId;
        }

        public String getCreateName() {
            return createName;
        }

        public void setCreateName(String createName) {
            this.createName = createName;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getStatusName() {
            return statusName;
        }

        public void setStatusName(String statusName) {
            this.statusName = statusName;
        }

        public boolean isFlag() {
            return flag;
        }

        public void setFlag(boolean flag) {
            this.flag = flag;
        }

        public List<OrderProductBean> getProducts() {
            return products;
        }

        public void setProducts(List<OrderProductBean> products) {
            this.products = products;
        }

        public List<ContractCommentBean> getExamines() {
            return examines;
        }

        public void setExamines(List<ContractCommentBean> examines) {
            this.examines = examines;
        }
}
